package com.campus.service.impl;

import com.campus.dao.CourseMapper;
import com.campus.entry.Course;
import com.campus.service.CourseService;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CourseServiceImpl implements CourseService {
    @Autowired
    private CourseMapper courseMapper;
    @Override
    public void createCourse(Course course) {
        courseMapper.insert(course);
    }
}
